import PanelDatasJson from './panel-datas-json';

export const PanelTypeDatas = {
  Panel_1: {
    data: PanelDatasJson.Panel_1,
    type: 'Panel_1',
    text: '空白 (1)',
    icon: 'jy-icon-contact',
    cid: 5001,
    isProduction: true
  },
  Panel_2: {
    data: PanelDatasJson.Panel_2,
    type: 'Panel_2',
    text: '单个图片 (2)',
    icon: 'jy-icon-contact',
    cid: 5002,
    isProduction: true
  },
  Panel_3: {
    data: PanelDatasJson.Panel_3,
    type: 'Panel_3',
    text: '文本 (3)',
    icon: 'jy-icon-contact',
    cid: 5003,
    isProduction: true
  },
  Panel_4: {
    data: PanelDatasJson.Panel_4,
    type: 'Panel_4',
    text: '头像 (4)',
    icon: 'jy-icon-contact',
    cid: 5004,
    isProduction: true
  },
  Panel_5: {
    data: PanelDatasJson.Panel_5,
    type: 'Panel_5',
    text: '进度条 (5)',
    icon: 'jy-icon-contact',
    cid: 5005,
    isProduction: true
  },
  Panel_6: {
    data: PanelDatasJson.Panel_6,
    type: 'Panel_6',
    text: 'common button (6)',
    icon: 'jy-icon-contact',
    cid: 5006,
    isProduction: true
  },
};

export const PanelTypeLists = [
  {
    title: 'Panel List',
    classify: 'Panel_List',
    lists: Object.keys(PanelTypeDatas).map(key => PanelTypeDatas[key]),
  }
];
